#ifndef D_OPENGL_FONT_H
#define D_OPENGL_FONT_H

#if defined (_DEBUG)
#pragma comment(lib, "freetype245_D.lib")
#else
#pragma comment(lib, "freetype245.lib")
#endif

#include "platform.h"

#if defined(DELGE_PLATFORM_WIN32)
#include <Windows.h>
#endif
#include <string>
//#include <gl\GL.h>
#include <lib\GL\glew.h>
#include <modules\graphics\font.h>
#include <helpers\math\delge_math.h>
#include <lib\freetype\ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include FT_BITMAP_H
#include FT_RENDER_H

using namespace DelGE::Helpers::Math;
using namespace std;

namespace DelGE
{
	namespace Modules
	{
		namespace Graphics
		{
			class OpenGLFont : public Font
			{
			private:
				GLuint *pTextures;

			public:
				OpenGLFont(string sFilepath, int iSize);
				~OpenGLFont();

				GLuint GetOpenGLTexture(char cCharacter);
			};
		}
	}
}

#endif